Skip to content

[26 - Stack 5/5] Step2 V2 API 계약 검증 추가#31

Merged
tomchaccom merged 1 commit into
AI/feat/26-04-step2-v2-apifrom
AI/test/26-05-step2-v2-contract
Jun 24, 2026
Merged

[26 - Stack 5/5] Step2 V2 API 계약 검증 추가#31
tomchaccom merged 1 commit into
AI/feat/26-04-step2-v2-apifrom
AI/test/26-05-step2-v2-contract

Conversation

@tomchaccom

Copy link
Copy Markdown
Collaborator

관련 이슈

작업내용

  • 독립 FastAPI 테스트 앱으로 Step2 V2 multipart 계약 검증
  • Spring 요청 필드와 응답 병합 형식 검증
  • 경험 추출 사용자 흐름 문서에 V2 계약 반영

테스트

  • url, selected_experiences, existing_experiences, preset_schemas 파싱
  • Spring 응답 DTO와 호환되는 병합 필드 반환
  • 잘못된 Preset JSON 요청 400
  • 선택 경험과 Preset 그룹 불일치 400
  • LLM과 임베딩을 fake 함수로 대체해 네트워크 호출 제거

테스트 결과

PYTHONPYCACHEPREFIX=/tmp/pickd-pycache \
.venv/bin/python -m unittest discover -s tests
  • 13개 테스트 통과

Stack 관계

  • Previous: [26 - Stack 4/5] 경험 추출 Step2 V2 API 추가
  • Final Stack: 5/5

- Spring multipart 요청과 응답 형식 검증
- 잘못된 Preset JSON과 스키마 불일치 검증
@tomchaccom tomchaccom marked this pull request as ready for review June 22, 2026 11:57
@tomchaccom tomchaccom merged commit cccd1da into AI/feat/26-04-step2-v2-api Jun 24, 2026
tomchaccom added a commit that referenced this pull request Jun 24, 2026
* feat : 경험 추출 Step2 V2 API 추가
- Spring multipart 요청과 런타임 Preset 처리
- 상세 추출 결과에 순차 중복 판정 적용

* test : 경험 추출 Step2 V2 계약 검증 추가 (#31)

- Spring multipart 요청과 응답 형식 검증
- 잘못된 Preset JSON과 스키마 불일치 검증

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>
tomchaccom added a commit that referenced this pull request Jun 24, 2026
* feat : 경험 순차 중복 판정 추가
- 기존 경험과 앞선 배치 경험 비교
- batch 인덱스 기반 중복 후보 반환

* [26 - Stack 4/5] 경험 추출 Step2 V2 API 추가 (#30)

* feat : 경험 추출 Step2 V2 API 추가
- Spring multipart 요청과 런타임 Preset 처리
- 상세 추출 결과에 순차 중복 판정 적용

* test : 경험 추출 Step2 V2 계약 검증 추가 (#31)

- Spring multipart 요청과 응답 형식 검증
- 잘못된 Preset JSON과 스키마 불일치 검증

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>
tomchaccom added a commit that referenced this pull request Jun 24, 2026
* feat : 런타임 경험 Preset 스키마 추가
- Spring Preset으로 동적 basic_info 모델 생성
- 미등록 필드와 그룹 불일치 검증 추가

* [26 - Stack 3/5] 경험 순차 중복 판정 추가 (#29)

* feat : 경험 순차 중복 판정 추가
- 기존 경험과 앞선 배치 경험 비교
- batch 인덱스 기반 중복 후보 반환

* [26 - Stack 4/5] 경험 추출 Step2 V2 API 추가 (#30)

* feat : 경험 추출 Step2 V2 API 추가
- Spring multipart 요청과 런타임 Preset 처리
- 상세 추출 결과에 순차 중복 판정 적용

* test : 경험 추출 Step2 V2 계약 검증 추가 (#31)

- Spring multipart 요청과 응답 형식 검증
- 잘못된 Preset JSON과 스키마 불일치 검증

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>
tomchaccom added a commit that referenced this pull request Jun 24, 2026
* resume_doto add

* [26 - Stack 2/5] 런타임 경험 Preset 스키마 추가 (#28)

* feat : 런타임 경험 Preset 스키마 추가
- Spring Preset으로 동적 basic_info 모델 생성
- 미등록 필드와 그룹 불일치 검증 추가

* [26 - Stack 3/5] 경험 순차 중복 판정 추가 (#29)

* feat : 경험 순차 중복 판정 추가
- 기존 경험과 앞선 배치 경험 비교
- batch 인덱스 기반 중복 후보 반환

* [26 - Stack 4/5] 경험 추출 Step2 V2 API 추가 (#30)

* feat : 경험 추출 Step2 V2 API 추가
- Spring multipart 요청과 런타임 Preset 처리
- 상세 추출 결과에 순차 중복 판정 적용

* test : 경험 추출 Step2 V2 계약 검증 추가 (#31)

- Spring multipart 요청과 응답 형식 검증
- 잘못된 Preset JSON과 스키마 불일치 검증

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>

---------

Co-authored-by: tomchccom <dreamkms2014@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant